function printId (id: number | string | boolean ) {
  if (typeof  id === 'string') {
    console.log(id.toUpperCase())
  } else {
    console.log(id)
  }
}
printId(1234)
printId('abcg')
printId(false)

function mess (message?: string) {
  console.log(message)
}
mess()